﻿using OConf.Model;
using OConf.Model.Common;
using OConf.Model.RequestInput.ProjectInfo;
using System.Collections.Generic;

namespace OConf.IBLL
{
    public interface IVersionsBLL
    {
        /// <summary>
        /// 获取命名空间下的版本信息
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ReturnData<List<VersionsModel>> GetVersions(GetVersionsInput input);

        /// <summary>
        /// 版本回滚
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ReturnData<BackProgramConfigInfo> VersionRollBack(VersionRollBackInput input);

        /// <summary>
        /// 获取配置历史信息
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ReturnData<List<ConfigInfoHistoryModel>> GetConfigInfoHistory(GetConfigInfoHistoryInput input);
    }
}
